//
//  RootViewController.m
//  AgriMobile
//
//  Created by 春名 啓作 on 11/05/04.
//  Copyright 2011 （株）アグリコミュニケーションズ. All rights reserved.
//
#import "RootViewController.h"
#import "HomeViewController.h"
#import "ConfigViewController.h"

@implementation RootViewController

#pragma mark -
#pragma mark View lifecycle


- (void)viewDidLoad {
    [super viewDidLoad];
	

	 //[tabBar setViewControllers:array animated:NO];
	//self.title = @"あぐりの里山Mobile";
}


/*
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}
*/
/*
- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
}
*/
/*
- (void)viewWillDisappear:(BOOL)animated {
	[super viewWillDisappear:animated];
}
*/
/*
- (void)viewDidDisappear:(BOOL)animated {
	[super viewDidDisappear:animated];
}
*/

/*
 // Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
	// Return YES for supported orientations.
	return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
 */

id tabSelectedView;

- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController
{
	/*
	NSArray *array = [[tabBarController view] subviews];
	UIView *view = [array objectAtIndex:0];

	 [UIView beginAnimations:nil context:nil];
	 [UIView setAnimationDuration:0.75];
	 [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
	 [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:view cache:YES];
	 [UIView commitAnimations];
	 
	 tabSelectedView = viewController;
	 */
}

#pragma mark -
#pragma mark Memory management

- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Relinquish ownership any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
    // Relinquish ownership of anything that can be recreated in viewDidLoad or on demand.
    // For example: self.myOutlet = nil;
}


- (void)dealloc {
    [super dealloc];
}


@end

